import {makeAutoObservable} from "mobx";

class HomeStore {
    chartData = [{
        id: 1,
        title: '前端主流框架使用满意度',
        xData: ['react', 'vue', 'angular'],
        yData: [30, 40, 50],
        style: {height: '400px', width: '500px'}
    }, {
        id: 2,
        title: '主流语言使用满意度',
        xData: ['java', 'c++', 'javaScript', 'golang', 'python'],
        yData: [50, 40, 50, 30, 40],
        style: {height: '600px', width: '700px'}
    }]

    constructor() {
        makeAutoObservable(this)
    }
}

export default HomeStore